package cn.com.websocket;

import cn.com.websocket.enums.MessageEnum;
import cn.com.websocket.po.Message;

/***
 ** @category 请用一句话描述这个类的用途
 ** @author qing.yunhui
 ** @email: qingyh@glodon.com
 ** @createTime: 2021-08-29 13:05
 **/
public class MyTest {

    public static final String OFFLINE_PREFIX_KEY = "openBidId:%s_offline:%s";
    public static final String OFFLINE_KEY = OFFLINE_PREFIX_KEY+":%s";

    public static void main(String[]args){
        // String source, String target, String text, MessageEnum.MSG_TYPE msgType
        Message message = new Message("admin","zhang","你好1", MessageEnum.MSG_TYPE.TEXT);
        Message message2 = new Message("admin","zhang","你好2", MessageEnum.MSG_TYPE.TEXT);
        Message message3 = new Message("admin","zhang","你好3", MessageEnum.MSG_TYPE.TEXT);

        Message messageA = new Message("zhang","admin","我很好1", MessageEnum.MSG_TYPE.TEXT);
        Message messageB = new Message("zhang","admin","我很好2", MessageEnum.MSG_TYPE.TEXT);
        Message messageC = new Message("zhang","admin","我很好3", MessageEnum.MSG_TYPE.TEXT);


        String msg ="openBidId:0921bad09f1649299ad293dd50ff28bb_offline:4bf500501d1b44bc90223bc6999df6da";
        String msg2="openBidId:0921bad09f1649299ad293dd50ff28bb_offline:4bf500501d1b44bc90223bc6999df6da:7985a694a14f4c2c9ea453b1bc0e999e";

        System.out.println("222");





    }

}
